home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / F1213.ECS < prev    next >
Text File  |  2008-11-19  |  18KB  |  530 lines

  1. |COPYRIGHT 2006 BY MEDIATECHNICS CORPORATION|HEADER|3|Objects, Controls, and Properties|0|F1213.FLC|0|0|0|0|0|0|
  2. |***|
  3. |1|1|1|1|0|0|
  4. |OPEN4.MID||0|0|1||0|
  5. ||0|0|0|0|F1213.BMP|5895|6440|4|1|
  6. |1|0|0|0|0|1|1|0|0|0|0|1|1|0|0|0|0|1|1|0|0|0|0|1|0|0|0|0|
  7. |0|0|1|0|0|1|0|0|1|0|0|1|
  8. |***|
  9. |2|1|1|1|0|0|
  10. |||0|0|0||1|
  11. ||10|10|10|10||0|0|0|0|
  12. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  13. |0|0|1|0|0|1|0|0|1|0|0|1|
  14. |***|
  15. |3|1|1|30|0|0|
  16. |F121301.WAV||0|0|1||1|
  17. |A visual development environment typically allows a programmer to design forms that become the user interface when the program runs.|8355|1995|1425|2670||0|0|0|0|
  18. |1|6615|3150|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  19. |0|0|1|0|0|1|0|0|1|0|0|1|
  20. |***|
  21. |4|1|1|30|0|0|
  22. |F121302.WAV||0|0|1||1|
  23. |A programmer can populate the form with objects and controls, such as text entry boxes, buttons, labels, and images.|8355|1995|1425|2670||0|0|0|0|
  24. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  25. |0|0|1|0|0|1|0|0|1|0|0|1|
  26. |***|
  27. |5|1|1|1|0|0|
  28. |||0|0|0||1|
  29. ||10|10|10|10||0|0|0|0|
  30. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  31. |0|0|1|0|0|1|0|0|1|0|0|1|
  32. |***|
  33. |6|2|1|1|0|0|
  34. |||0|0|0||1|
  35. ||10|10|10|10||0|0|0|0|
  36. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  37. |0|0|1|0|0|1|0|0|1|0|0|1|
  38. |***|
  39. |7|2|1|35|0|0|
  40. |F121303.WAV||0|0|1||1|
  41. |For example, suppose we are creating a program to compare the prices of two pizzas.  The form we use as the basis for the pizza program might contain a title ...|6460|2370|1755|2910||0|0|1|0|
  42. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  43. |0|0|1|0|0|1|0|0|1|0|0|1|
  44. |***|
  45. |8|2|1|1|0|0|
  46. |||0|0|0||1|
  47. ||10|10|10|10||0|0|1|0|
  48. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  49. |0|0|1|0|0|1|0|0|1|0|0|1|
  50. |***|
  51. |9|3|1|1|0|0|
  52. |||0|0|0||1|
  53. ||10|10|10|10||0|0|1|0|
  54. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  55. |0|0|1|0|0|1|0|0|1|0|0|1|
  56. |***|
  57. |10|4|1|1|0|0|
  58. |||0|0|0||1|
  59. ||10|10|10|10||0|0|1|0|
  60. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  61. |0|0|1|0|0|1|0|0|1|0|0|1|
  62. |***|
  63. |11|4|1|10|0|0|
  64. |F121304.WAV||0|0|1||1|
  65. |... and various labels.|3855|4165|495|1980||0|0|3|1|
  66. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  67. |0|0|1|0|0|1|0|0|1|0|0|1|
  68. |***|
  69. |12|4|1|1|0|0|
  70. |||0|0|0||1|
  71. ||10|10|10|10||0|0|3|1|
  72. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  73. |0|0|1|0|0|1|0|0|1|0|0|1|
  74. |***|
  75. |13|6|1|1|0|0|
  76. |||0|0|0||1|
  77. ||10|10|10|10||0|0|0|0|
  78. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  79. |0|0|1|0|0|1|0|0|1|0|0|1|
  80. |***|
  81. |14|6|1|30|0|0|
  82. |F121305.WAV||0|0|1||1|
  83. |We can also add text boxes that can be used for data entry when the program runs.  For example, a text box can be used to collect the price of a pizza.|3055|5610|1695|2505||0|0|1|0|
  84. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|30|5460|315|1980|
  85. |0|0|1|0|0|1|0|0|1|0|0|1|
  86. |***|
  87. |15|7|1|1|0|0|
  88. |HCLICK.WAV||1110|5400|1||1|
  89. ||10|10|10|10||0|0|0|0|
  90. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  91. |0|0|1|0|0|1|0|0|1|0|0|1|
  92. |***|
  93. |16|8|1|1|0|0|
  94. |||0|0|0||1|
  95. ||10|10|10|10||0|0|0|0|
  96. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  97. |0|0|1|0|0|1|0|0|1|0|0|1|
  98. |***|
  99. |17|9|1|1|0|0|
  100. |||0|0|0||1|
  101. ||10|10|10|10||0|0|0|0|
  102. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  103. |0|0|1|0|0|1|0|0|1|0|0|1|
  104. |***|
  105. |18|10|1|1|0|0|
  106. |||0|0|0||1|
  107. ||10|10|10|10||0|0|0|0|
  108. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  109. |0|0|1|0|0|1|0|0|1|0|0|1|
  110. |***|
  111. |19|11|1|1|0|0|
  112. |||0|0|0||1|
  113. ||10|10|10|10||0|0|0|0|
  114. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  115. |0|0|1|0|0|1|0|0|1|0|0|1|
  116. |***|
  117. |20|11|1|30|0|0|
  118. |F121306.WAV||0|0|1||1|
  119. |Every object on the form has a set of properties.  To see and change the properties for an object, we can use the Properties list.|4680|4480|1485|2505||0|0|3|0|
  120. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  121. |0|0|1|0|0|1|0|0|1|0|0|1|
  122. |***|
  123. |21|11|1|1|0|0|
  124. |HCLICK.WAV||1245|345|1||1|
  125. ||10|10|10|10||0|0|0|0|
  126. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  127. |0|0|1|0|0|1|0|0|1|0|0|1|
  128. |***|
  129. |22|12|1|1|0|0|
  130. |||0|0|0||1|
  131. ||10|10|10|10||0|0|0|0|
  132. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  133. |0|0|1|0|0|1|0|0|1|0|0|1|
  134. |***|
  135. |23|13|1|1|0|0|
  136. |HCLICK.WAV||3315|3240|1||1|
  137. ||10|10|10|10||0|0|0|0|
  138. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  139. |0|0|1|0|0|1|0|0|1|0|0|1|
  140. |***|
  141. |24|14|1|1|0|0|
  142. |||0|0|0||1|
  143. ||10|10|10|10||0|0|0|0|
  144. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  145. |0|0|1|0|0|1|0|0|1|0|0|1|
  146. |***|
  147. |25|14|1|25|0|0|
  148. |F121307.WAV||0|0|1||1|
  149. |The Properties window can be used to define the text box's name, appearance, and behavior.|5825|2280|1365|2010||0|0|2|0|
  150. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|8940|1035|7170|3015|
  151. |0|0|1|0|0|1|0|0|1|0|0|1|
  152. |***|
  153. |26|14|1|30|0|0|
  154. |F121321.WAV||0|0|1||1|
  155. |This text box is used as a variable to hold the price of the first pizza.  We can change the name of this variable so its name is associated with its purpose.|4925|2280|1365|3150||0|0|0|0|
  156. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  157. |0|0|1|0|0|1|0|0|1|0|0|1|
  158. |***|
  159. |27|14|1|1|0|0|
  160. |||0|0|0||1|
  161. ||10|10|10|10||0|0|0|0|
  162. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  163. |0|0|1|0|0|1|0|0|1|0|0|1|
  164. |***|
  165. |28|16|1|1|0|0|
  166. |||0|0|0||1|
  167. ||10|10|10|10||0|0|0|0|
  168. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  169. |0|0|1|0|0|1|0|0|1|0|0|1|
  170. |***|
  171. |29|16|1|15|0|0|
  172. |F121308.WAV||0|0|1||1|
  173. |Now, the text box variable is labeled PizzaPrice.|6140|2280|1080|1920||0|0|2|0|
  174. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|9135|2175|285|2625|
  175. |0|0|1|0|0|1|0|0|1|0|0|1|
  176. |***|
  177. |30|16|1|20|0|0|
  178. |F121309.WAV||0|0|1||1|
  179. |We'll add a few more objects to the form and define their properties.|3945|5070|840|2595||0|0|0|0|
  180. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  181. |0|0|1|0|0|1|0|0|1|0|0|1|
  182. |***|
  183. |31|16|1|1|0|0|
  184. |||0|0|0||1|
  185. ||10|10|10|10||0|0|0|0|
  186. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  187. |0|0|1|0|0|1|0|0|1|0|0|1|
  188. |***|
  189. |32|17|1|1|0|0|
  190. |||0|0|0||1|
  191. ||10|10|10|10||0|0|0|0|
  192. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  193. |0|0|1|0|0|1|0|0|1|0|0|1|
  194. |***|
  195. |33|18|1|1|0|0|
  196. |||0|0|0||1|
  197. ||10|10|10|10||0|0|0|0|
  198. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  199. |0|0|1|0|0|1|0|0|1|0|0|1|
  200. |***|
  201. |34|19|1|1|0|0|
  202. |||0|0|0||1|
  203. ||10|10|10|10||0|0|0|0|
  204. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  205. |0|0|1|0|0|1|0|0|1|0|0|1|
  206. |***|
  207. |35|20|1|1|0|0|
  208. |||0|0|0||1|
  209. ||10|10|10|10||0|0|0|0|
  210. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  211. |0|0|1|0|0|1|0|0|1|0|0|1|
  212. |***|
  213. |36|21|1|1|0|0|
  214. |||0|0|0||1|
  215. ||10|10|10|10||0|0|0|0|
  216. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  217. |0|0|1|0|0|1|0|0|1|0|0|1|
  218. |***|
  219. |37|22|1|1|0|0|
  220. |||0|0|0||1|
  221. ||10|10|10|10||0|0|0|0|
  222. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  223. |0|0|1|0|0|1|0|0|1|0|0|1|
  224. |***|
  225. |38|23|1|1|0|0|
  226. |||0|0|0||1|
  227. ||10|10|10|10||0|0|0|0|
  228. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  229. |0|0|1|0|0|1|0|0|1|0|0|1|
  230. |***|
  231. |39|24|1|1|0|0|
  232. |||0|0|0||1|
  233. ||10|10|10|10||0|0|0|0|
  234. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  235. |0|0|1|0|0|1|0|0|1|0|0|1|
  236. |***|
  237. |40|24|1|30|0|0|
  238. |F121322.WAV||0|0|1||1|
  239. |Now the form contains text boxes that can be used to collect the prices and sizes of two pizzas.  What about the pizza shapes?|4410|5185|1365|2865||0|0|3|0|
  240. |1|6450|5085|15|15|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2880|2700|1440|4980|
  241. |0|0|1|0|0|1|0|0|1|0|0|1|
  242. |***|
  243. |41|24|1|1|0|0|
  244. |||0|0|0||1|
  245. ||10|10|10|10||0|0|0|0|
  246. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  247. |0|0|1|0|0|1|0|0|1|0|0|1|
  248. |***|
  249. |42|25|1|1|0|0|
  250. |||0|0|0||1|
  251. ||10|10|10|10||0|0|0|0|
  252. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  253. |0|0|1|0|0|1|0|0|1|0|0|1|
  254. |***|
  255. |43|25|1|40|0|0|
  256. |F121310.WAV||0|0|1||1|
  257. |Instead of asking users to type in the shapes, we can design the program so that they choose the shape by using radio buttons.  Radio buttons are controls that allow users to select one option or another.|3100|2625|1785|3015||0|0|1|0|
  258. |1|4320|4605|15|15|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|15|2460|330|1995|
  259. |0|0|1|0|0|1|0|0|1|0|0|1|
  260. |***|
  261. |44|26|1|1|0|0|
  262. |HCLICK.WAV||1080|2415|1||1|
  263. ||10|10|10|10||0|0|0|0|
  264. |1|10|10|10|10|1|1|10|10|10|10|1|1|1140|2625|15|15|1|1|10|10|10|10|1|10|10|10|10|
  265. |0|0|1|0|0|1|0|0|1|0|0|1|
  266. |***|
  267. |45|27|1|1|0|0|
  268. |||0|0|0||1|
  269. ||10|10|10|10||0|0|0|0|
  270. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  271. |0|0|1|0|0|1|0|0|1|0|0|1|
  272. |***|
  273. |46|27|1|20|0|0|
  274. |F121311.WAV||0|0|1||1|
  275. |We've incorporated graphics with the radio buttons to illustrate pizza shapes.|3600|7230|615|3435||0|0|0|0|
  276. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|2820|4260|2535|5025|
  277. |0|0|1|0|0|1|0|0|1|0|0|1|
  278. |***|
  279. |47|27|1|20|0|0|
  280. |F121312.WAV||0|0|1||1|
  281. |A form can also hold button objects, such as a "Best Deal" button.|4425|7320|1005|2175||0|0|0|0|
  282. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  283. |0|0|1|0|0|1|0|0|1|0|0|1|
  284. |***|
  285. |48|28|1|1|0|0|
  286. |HCLICK.WAV||1020|2730|1||1|
  287. ||10|10|10|10||0|0|0|0|
  288. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  289. |0|0|1|0|0|1|0|0|1|0|0|1|
  290. |***|
  291. |49|29|1|1|0|0|
  292. |||0|0|0||1|
  293. ||10|10|10|10||0|0|0|0|
  294. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  295. |0|0|1|0|0|1|0|0|1|0|0|1|
  296. |***|
  297. |50|30|1|1|0|0|
  298. |||0|0|0||1|
  299. ||10|10|10|10||0|0|0|0|
  300. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  301. |0|0|1|0|0|1|0|0|1|0|0|1|
  302. |***|
  303. |51|31|1|1|0|0|
  304. |||0|0|0||1|
  305. ||10|10|10|10||0|0|0|0|
  306. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  307. |0|0|1|0|0|1|0|0|1|0|0|1|
  308. |***|
  309. |52|32|1|1|0|0|
  310. |||0|0|0||1|
  311. ||10|10|10|10||0|0|0|0|
  312. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  313. |0|0|1|0|0|1|0|0|1|0|0|1|
  314. |***|
  315. |53|33|1|1|0|0|
  316. |||0|0|0||1|
  317. ||10|10|10|10||0|0|0|0|
  318. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  319. |0|0|1|0|0|1|0|0|1|0|0|1|
  320. |***|
  321. |54|33|1|25|0|0|
  322. |F121313.WAV||0|0|1||1|
  323. |We can use the properties list to specify that the button is labeled "Best Deal".|5120|6870|900|2850||0|0|2|0|
  324. |1|8550|5250|15|15|1|1|10|10|10|10|1|1|6615|2865|10|10|1|1|10|10|10|10|1|9120|6720|300|2625|
  325. |0|0|1|0|0|1|0|0|1|0|0|1|
  326. |***|
  327. |55|33|1|1|0|0|
  328. |HCLICK.WAV||9765|6660|1||1|
  329. ||10|10|10|10||0|0|2|0|
  330. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  331. |0|0|1|0|0|1|0|0|1|0|0|1|
  332. |***|
  333. |56|34|1|1|0|0|
  334. |||0|0|0||1|
  335. ||10|10|10|10||0|0|0|0|
  336. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  337. |0|0|1|0|0|1|0|0|1|0|0|1|
  338. |***|
  339. |57|35|1|1|0|0|
  340. |||0|0|0||1|
  341. ||10|10|10|10||0|0|0|0|
  342. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  343. |0|0|1|0|0|1|0|0|1|0|0|1|
  344. |***|
  345. |58|36|1|1|0|0|
  346. |||0|0|0||1|
  347. ||10|10|10|10||0|0|0|0|
  348. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  349. |0|0|1|0|0|1|0|0|1|0|0|1|
  350. |***|
  351. |59|36|1|40|0|0|
  352. |F121314.WAV||0|0|1||1|
  353. |Now the button has a label that describes its purpose.  The next step in the programming process is to attach program code to the button.  The code will tell the computer what to do when users click the button.|2700|3880|1350|4365||0|0|3|1|
  354. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  355. |0|0|1|0|0|1|0|0|1|0|0|1|
  356. |***|
  357. |60|36|1|1|0|0|
  358. |HCLICK.WAV||7125|2355|1||1|
  359. ||10|10|10|10||0|0|0|0|
  360. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  361. |0|0|1|0|0|1|0|0|1|0|0|1|
  362. |***|
  363. |61|37|1|1|0|0|
  364. |||0|0|0||1|
  365. ||10|10|10|10||0|0|0|0|
  366. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  367. |0|0|1|0|0|1|0|0|1|0|0|1|
  368. |***|
  369. |62|38|1|1|0|0|
  370. |HCLICK.WAV||8805|2610|1||1|
  371. ||10|10|10|10||0|0|0|0|
  372. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  373. |0|0|1|0|0|1|0|0|1|0|0|1|
  374. |***|
  375. |63|39|1|1|0|0|
  376. |||0|0|0||1|
  377. ||10|10|10|10||0|0|0|0|
  378. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  379. |0|0|1|0|0|1|0|0|1|0|0|1|
  380. |***|
  381. |64|39|1|30|0|0|
  382. |F121315.WAV||0|0|1||1|
  383. |The programming environment has already started a module called BestDeal_Click with code needed for the button click event.|5130|5830|1170|2955||0|0|3|0|
  384. |1|8790|6165|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  385. |0|0|1|0|0|1|0|0|1|0|0|1|
  386. |***|
  387. |65|39|1|1|0|0|
  388. |||0|0|0||1|
  389. ||10|10|10|10||0|0|3|0|
  390. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  391. |0|0|1|0|0|1|0|0|1|0|0|1|
  392. |***|
  393. |66|40|1|1|0|0|
  394. |||0|0|0||1|
  395. ||10|10|10|10||0|0|3|0|
  396. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  397. |0|0|1|0|0|1|0|0|1|0|0|1|
  398. |***|
  399. |67|40|1|45|0|0|
  400. |F121316.WAV||0|0|1||1|
  401. |The programmer has to add code that specifies what the program does when the button is clicked.  For the pizza program, the code calculates the price per square inch for each pizza and then compares these prices to determine the best deal.|8460|3005|1875|3465||0|0|4|0|
  402. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  403. |0|0|1|0|0|1|0|0|1|0|0|1|
  404. |***|
  405. |68|40|1|1|0|0|
  406. |||0|0|0||1|
  407. ||10|10|10|10||0|0|4|0|
  408. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  409. |0|0|1|0|0|1|0|0|1|0|0|1|
  410. |***|
  411. |69|41|1|1|0|0|
  412. |||0|0|0||1|
  413. ||10|10|10|10||0|0|4|0|
  414. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  415. |0|0|1|0|0|1|0|0|1|0|0|1|
  416. |***|
  417. |70|41|1|25|0|0|
  418. |F121317.WAV||0|0|1||1|
  419. |Now our user interface is complete and so is the program!  Let's run the program to see how it works.|3945|7335|900|3465||0|0|0|0|
  420. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  421. |0|0|1|0|0|1|0|0|1|0|0|1|
  422. |***|
  423. |71|42|1|1|0|0|
  424. |HCLICK.WAV||6390|690|1||1|
  425. ||10|10|10|10||0|0|0|0|
  426. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  427. |0|0|1|0|0|1|0|0|1|0|0|1|
  428. |***|
  429. |72|43|1|1|0|0|
  430. |||0|0|0||1|
  431. ||10|10|10|10||0|0|0|0|
  432. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  433. |0|0|1|0|0|1|0|0|1|0|0|1|
  434. |***|
  435. |73|43|1|25|0|0|
  436. |F121318.WAV||0|0|1||1|
  437. |The form appears.  A user can fill in the text boxes and select the option buttons.|8220|2490|1155|2235||0|0|0|0|
  438. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  439. |0|0|1|0|0|1|0|0|1|0|0|1|
  440. |***|
  441. |74|43|1|1|0|0|
  442. |||0|0|0||1|
  443. ||10|10|10|10||0|0|0|0|
  444. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  445. |0|0|1|0|0|1|0|0|1|0|0|1|
  446. |***|
  447. |75|44|1|1|0|0|
  448. |||0|0|0||1|
  449. ||10|10|10|10||0|0|0|0|
  450. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  451. |0|0|1|0|0|1|0|0|1|0|0|1|
  452. |***|
  453. |76|45|1|1|0|0|
  454. |||0|0|0||1|
  455. ||10|10|10|10||0|0|0|0|
  456. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  457. |0|0|1|0|0|1|0|0|1|0|0|1|
  458. |***|
  459. |77|45|1|1|0|0|
  460. |HCLICK.WAV||2415|4800|1||1|
  461. ||10|10|10|10||0|0|0|0|
  462. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  463. |0|0|1|0|0|1|0|0|1|0|0|1|
  464. |***|
  465. |78|46|1|1|0|0|
  466. |||0|0|0||1|
  467. ||10|10|10|10||0|0|0|0|
  468. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  469. |0|0|1|0|0|1|0|0|1|0|0|1|
  470. |***|
  471. |79|47|1|1|0|0|
  472. |||0|0|0||1|
  473. ||10|10|10|10||0|0|0|0|
  474. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  475. |0|0|1|0|0|1|0|0|1|0|0|1|
  476. |***|
  477. |80|48|1|1|0|0|
  478. |||0|0|0||1|
  479. ||10|10|10|10||0|0|0|0|
  480. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  481. |0|0|1|0|0|1|0|0|1|0|0|1|
  482. |***|
  483. |81|48|1|1|0|0|
  484. |HCLICK.WAV||4980|3825|1||1|
  485. ||10|10|10|10||0|0|0|0|
  486. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  487. |0|0|1|0|0|1|0|0|1|0|0|1|
  488. |***|
  489. |82|49|1|1|0|0|
  490. |||0|0|0||1|
  491. ||10|10|10|10||0|0|0|0|
  492. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  493. |0|0|1|0|0|1|0|0|1|0|0|1|
  494. |***|
  495. |83|49|1|25|0|0|
  496. |F121319.WAV||0|0|1||1|
  497. |Once the information for both pizzas has been entered, the "Best Deal" button shows us how the two pizzas stack up.|8170|1185|1380|2265||0|0|1|0|
  498. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  499. |0|0|1|0|0|1|0|0|1|0|0|1|
  500. |***|
  501. |84|50|1|1|0|0|
  502. |HCLICK.WAV||6630|1110|1||1|
  503. ||10|10|10|10||0|0|0|0|
  504. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  505. |0|0|1|0|0|1|0|0|1|0|0|1|
  506. |***|
  507. |85|51|1|1|0|0|
  508. |||0|0|0||1|
  509. ||10|10|10|10||0|0|0|0|
  510. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  511. |0|0|1|0|0|1|0|0|1|0|0|1|
  512. |***|
  513. |86|51|1|25|0|0|
  514. |F121320.WAV||0|0|1||1|
  515. |That's how easy it is to use objects and controls in a visual development environment!|8325|3225|1125|2265||0|0|0|0|
  516. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  517. |0|0|1|0|0|1|0|0|1|0|0|1|
  518. |***|
  519. |87|51|1|1|0|0|
  520. |||0|0|0||1|
  521. ||10|10|10|10||0|0|0|0|
  522. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  523. |0|0|1|0|0|1|0|0|1|0|0|1|
  524. |***|
  525. |88|51|1|1|0|0|
  526. |CLOSE4.MID||0|0|1||1|
  527. ||10|10|10|10|ANEND.BMP|4395|6950|4|1|
  528. |1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
  529. |0|0|1|0|0|1|0|0|1|0|0|1|
  530.